projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b855aa
)
Comment out useless nonterminals from python.wy
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 18 Jun 2019 00:42:44 +0000
(
02:42
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 18 Jun 2019 09:33:40 +0000
(11:33 +0200)
admin/grammars/python.wy
patch
|
blob
|
history
diff --git
a/admin/grammars/python.wy
b/admin/grammars/python.wy
index 695e612942ac280c88dcdc4bb40a912dddad3755..082850df59cd0ff83692b06aa3af786f16c86bd3 100644
(file)
--- a/
admin/grammars/python.wy
+++ b/
admin/grammars/python.wy
@@
-1147,16
+1147,17
@@
fpdef
;; (identity $2)
;
-;; fplist: fpdef (',' fpdef)* [',']
-fplist
- : fpdef_list comma_opt
- ;
-
-;; fpdef (',' fpdef)*
-fpdef_list
- : fpdef
- | fpdef_list COMMA fpdef
- ;
+;; These rules are now useless because the above rule doesn't refer to them.
+;; ;; fplist: fpdef (',' fpdef)* [',']
+;; fplist
+;; : fpdef_list comma_opt
+;; ;
+
+;; ;; fpdef (',' fpdef)*
+;; fpdef_list
+;; : fpdef
+;; | fpdef_list COMMA fpdef
+;; ;
;; ['=' test]
eq_test_opt